package com.yunqiao.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * wxpay pay properties
 *
 * @author Binary Wang
 */
@Data
@ConfigurationProperties(prefix = "wx.pay")
@Configuration
public class WxPayProperties {
  /**
   * 设置微信公众号或者小程序等的appid
   */
  private String  appId;
  private String  driverAppId;

  private String secret;
  //用户小程序appid
  private String userAppid;

  private String userAppSecret;
  /**
   * 微信支付商户号
   */
  private String mchId;

  /**
   * 微信支付商户密钥
   */
  private String mchKey;


  /**
   * apiclient_cert.p12文件的绝对路径，或者如果放在项目中，请以classpath:开头指定
   */
  private String keyPath;
}
